package com.example.startertest;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.Resource;

@SpringBootApplication
public class StarterTestApplication implements CommandLineRunner {

    @Resource
    private RunIt runIt;

    public static void main(String[] args) {
        SpringApplication.run(StarterTestApplication.class, args);
    }

    public void run(String... strings) {
        runIt.hello();
    }
}
